﻿/*
 * This software is the confidential and proprietary
 * information of NetBay
 * Such confidential information should not be disclosed
 * NetBay copyright(c) 2010
 */

#region Using
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
#endregion

namespace Rio.Doc.Business
{
    /// <summary>
    /// Class to handle enum for Login
    /// </summary>
    public class Enum
    {
        /// <summary>
        /// Supported method of Authentication
        /// </summary>
        public enum AuthenticationMethod
        {
            /// <summary>
            /// Authentication by SSO
            /// </summary>
            SSO = 0,
            /// <summary>
            /// Authentication by user/password
            /// </summary>
            UserPassword = 1,
            /// <summary>
            /// Authentication by Ldap
            /// </summary>
            Ldap = 2,
        }

        /// <summary>
        /// List of all known word model bookmarks
        /// </summary>
        public enum WordBookMark
        {
            [DescriptionAttribute("Libelle")]
            Label,
            [DescriptionAttribute("Valeur")]
            Value,
            [DescriptionAttribute("Critère")]
            Criteria,
            [DescriptionAttribute("Image")]
            Image
        }

        /// <summary>
        /// File Extension
        /// </summary>
        public enum FileExtension
        {
            /// <summary>
            /// Csv File extension
            /// </summary>
            [DescriptionAttribute(".csv")]
            CSV,
            /// <summary>
            /// Word File Extension
            /// </summary>
            [DescriptionAttribute(".doc")]
            WORD
        }



        public enum Separator
        {
            /// <summary>
            /// DotComma Separator
            /// </summary>
            [DescriptionAttribute(";")]
            DotComma,
            /// <summary>
            /// Comma Separator
            /// </summary>
            [DescriptionAttribute(",")]
            Comma
        }

        //TODO REMOVE IN RIO V2.0
        public enum IconFileName
        {
            /// <summary>
            /// Word Icon filename
            /// </summary>
            [DescriptionAttribute("word.png")]
            WORD,
            /// <summary>
            /// Video Icon filename
            /// </summary>
            [DescriptionAttribute("Video.png")]
            VIDEO,
            /// <summary>
            /// excel Icon filename
            /// </summary>
            [DescriptionAttribute("excel.png")]
            EXCEL,
            /// <summary>
            /// acrobat Icon filename
            /// </summary>
            [DescriptionAttribute("acrobat.png")]
            ACROBAT,
            /// <summary>
            /// web Icon filename
            /// </summary>
            [DescriptionAttribute("web.png")]
            WEB,
            /// <summary>
            /// text Icon filename
            /// </summary>
            [DescriptionAttribute("text.png")]
            TEXT,
            /// <summary>
            /// ppt Icon filename
            /// </summary>
            [DescriptionAttribute("ppt.png")]
            PPT,
            /// <summary>
            /// blank Icon filename
            /// </summary>
            [DescriptionAttribute("blank.png")]
            BLANK
        }
        //public enum FieldNomenclature
        //{
        //    /// <summary>
        //    /// The first {0} is the table name
        //    /// The second {1} is the Index Name
        //    /// </summary>
        //    [DescriptionAttribute("{0}_CH{1}")]
        //    IndexFieldNomeclature
        //}

    }
}
